package com.naiterui.ehp.bs.cms.modules.pharmacy.vo;

import com.naiterui.ehp.bs.cms.common.json.Dict;

import lombok.Data;
import lombok.EqualsAndHashCode;

import io.swagger.annotations.ApiModelProperty;

/**
 * <pre>
 *      合作药店
 * </pre>
 *
 * @author 王泽浩
 * @date 2019-07-06 13:51
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WarehouseVO {

    @ApiModelProperty(value = "主键ID")
    private Long id;

    /**
     * 商家编码
     */
    @ApiModelProperty(value = "商家编码")
    private String code;
    /**
     * 商家名称
     */
    @ApiModelProperty(value = "商家名称")
    private String name;
    /**
     * 商家联系人
     */
    @ApiModelProperty(value = "商家联系人")
    private String linkman;
    /**
     * 商家联系电话
     */
    @ApiModelProperty(value = "商家联系电话")
    private String phone;
    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;
    /**
     * 合作商品数
     */
    @ApiModelProperty(value = "合作商品数")
    private Integer number;

    /**
     * 城市ID
     */
    @ApiModelProperty(value = "城市ID")
    private Long cityId;

    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址")
    private String address;

    /**
     * 状态:是否停用 0:启用。1:停用
     */
    @Dict(type = "warehouse_status")
    @ApiModelProperty(value = "状态:是否停用 0:启用。1:停用,描述使用statusDescribe")
    private Integer status;

    @ApiModelProperty(value = "管理员账户")
    private WarehouseManageVO manage;

}


